import com.google.gson.Gson;

import java.util.List;

public class Main {

    public static void main(String[] args) throws Exception {
//        System.out.println("hello world");
        ExcelUtil excelUtil = new ExcelUtil();
       List<List<String>> stringList = excelUtil.readExcel("数据.xlsx");
//       List<List<String>> stringList = excelUtil.readExcel("tmp001.xlsx");
        System.out.println(new Gson().toJson(stringList));

        List<RowBean> rowBeanList = excelUtil.readExcelToListBean("数据.xlsx");
        System.out.println(new Gson().toJson(rowBeanList));
    }
}
